package wwl.lsf.hellospringboot.common;

import com.alibaba.fastjson.JSON;
import lombok.Data;

/**
 * @Title：
 * @Author：guobingbing
 * @Date 2019/8/28 16:53
 * @Description
 * @Version
 */
@Data
public final class BizResponse<T> {

	/**
	 * 返回码
	 */
	private String retCode;

	/**
	 * 返回信息
	 */
	private String retInfo;

	/**
	 * 具体返回信息
	 */
	private T data;

	public BizResponse(String retCode, String retInfo) {
		this.retCode = retCode;
		this.retInfo = retInfo;
	}

}
